home *** CD-ROM | disk | FTP | other *** search
Wrap
ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc((((3333GGGG)))) NNNNAAAAMMMMEEEE ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc - specify the value used for depth buffer comparisons CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN void ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc( GLenum _f_u_n_c ) PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS _f_u_n_c Specifies the depth comparison function. Symbolic constants GGGGLLLL____NNNNEEEEVVVVEEEERRRR, GGGGLLLL____LLLLEEEESSSSSSSS, GGGGLLLL____EEEEQQQQUUUUAAAALLLL, GGGGLLLL____LLLLEEEEQQQQUUUUAAAALLLL, GGGGLLLL____GGGGRRRREEEEAAAATTTTEEEERRRR, GGGGLLLL____NNNNOOOOTTTTEEEEQQQQUUUUAAAALLLL, GGGGLLLL____GGGGEEEEQQQQUUUUAAAALLLL, and GGGGLLLL____AAAALLLLWWWWAAAAYYYYSSSS are accepted. The initial value is GGGGLLLL____LLLLEEEESSSSSSSS. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc specifies the function used to compare each incoming pixel depth value with the depth value present in the depth buffer. The comparison is performed only if depth testing is enabled. (See ggggllllEEEEnnnnaaaabbbblllleeee and ggggllllDDDDiiiissssaaaabbbblllleeee of GGGGLLLL____DDDDEEEEPPPPTTTTHHHH____TTTTEEEESSSSTTTT.) _f_u_n_c specifies the conditions under which the pixel will be drawn. The comparison functions are as follows: GGGGLLLL____NNNNEEEEVVVVEEEERRRR Never passes. GGGGLLLL____LLLLEEEESSSSSSSS Passes if the incoming depth value is less than the stored depth value. GGGGLLLL____EEEEQQQQUUUUAAAALLLL Passes if the incoming depth value is equal to the stored depth value. GGGGLLLL____LLLLEEEEQQQQUUUUAAAALLLL Passes if the incoming depth value is less than or equal to the stored depth value. GGGGLLLL____GGGGRRRREEEEAAAATTTTEEEERRRR Passes if the incoming depth value is greater than the stored depth value. GGGGLLLL____NNNNOOOOTTTTEEEEQQQQUUUUAAAALLLL Passes if the incoming depth value is not equal to the stored depth value. GGGGLLLL____GGGGEEEEQQQQUUUUAAAALLLL Passes if the incoming depth value is greater than or equal to the stored depth value. GGGGLLLL____AAAALLLLWWWWAAAAYYYYSSSS Always passes. The initial value of _f_u_n_c is GGGGLLLL____LLLLEEEESSSSSSSS. Initially, depth testing is disabled. Even if the depth buffer exists and the depth mask is non- zero, the depth buffer is not updated if the depth test is disabled. PPPPaaaaggggeeee 1111 ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc((((3333GGGG)))) ERRORS GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _f_u_n_c is not an accepted value. GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllDDDDeeeepppptttthhhhFFFFuuuunnnncccc is executed between the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS ggggllllGGGGeeeetttt with argument GGGGLLLL____DDDDEEEEPPPPTTTTHHHH____FFFFUUUUNNNNCCCC ggggllllIIIIssssEEEEnnnnaaaabbbblllleeeedddd with argument GGGGLLLL____DDDDEEEEPPPPTTTTHHHH____TTTTEEEESSSSTTTT SSSSEEEEEEEE AAAALLLLSSSSOOOO ggggllllDDDDeeeepppptttthhhhRRRRaaaannnnggggeeee, ggggllllEEEEnnnnaaaabbbblllleeee, ggggllllPPPPoooollllyyyyggggoooonnnnOOOOffffffffsssseeeetttt PPPPaaaaggggeeee 2222